<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>

<f:subview id="error">
<h:panelGrid columns="1" styleClass="standard" style="text-align:middle">
  <h:outputText value="Error: " styleClass="errorMessage"/>
  <h:messages layout="table" styleClass="errorMessage"/>
</h:panelGrid>
</f:subview>